package com.cartoon.service;

import com.cartoon.entity.Chapter;
import com.cartoon.util.ResponseData;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

/**
 * (Chapter)表服务接口
 *
 * @author makejava
 * @since 2021-12-10 11:28:08
 */
public interface ChapterService {


    ResponseData getChapterByCartoonId(int cartoonId);

    ResponseData getContentByCartoonId(Integer cartoonId, Integer chapterNumber);

    ResponseData getContentByChapterNumber(int cartoonId,int chapterNumber);
}
